//
//  XJLoginView.h
//  XinJiangMall
//
//  Created by Tzyang on 2018/4/8.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "ZYTextField.h"

@protocol XJLoginDelegate <NSObject>


- (void)loginWithUserName:(NSString *)userName code:(NSString *)codeString;

- (void)forgetUserPasswordAction;

- (void)registAction;

- (void)loginByWeiXin;
- (void)loginByWeiBo;
- (void)loginByQQ;

@end;

@interface XJLoginView : UIView

@property (nonatomic, weak) id <XJLoginDelegate>delegate;

@property (nonatomic, strong) ZYTextField * loginNameTextField;//登录名
@property (nonatomic, strong) ZYTextField * loginCodeTextField;//登录密码

@property (nonatomic, strong) UIButton * loginButton;//登录按钮
@property (nonatomic, strong) UIButton * registButton;//注册按钮


@end
